Optimal. Leaf size=81 \[ x \left (a+b x^n\right )^p \left (\frac{b x^n}{a}+1\right )^{-p} \left (c+d x^n\right )^q \left (\frac{d x^n}{c}+1\right )^{-q} F_1\left (\frac{1}{n};-p,-q;1+\frac{1}{n};-\frac{b x^n}{a},-\frac{d x^n}{c}\right ) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.128784, antiderivative size = 81, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105 \[ x \left (a+b x^n\right )^p \left (\frac{b x^n}{a}+1\right )^{-p} \left (c+d x^n\right )^q \left (\frac{d x^n}{c}+1\right )^{-q} F_1\left (\frac{1}{n};-p,-q;1+\frac{1}{n};-\frac{b x^n}{a},-\frac{d x^n}{c}\right ) \]
Antiderivative was successfully verified.
[In] Int[(a + b*x^n)^p*(c + d*x^n)^q,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 21.6673, size = 63, normalized size = 0.78 \[ x \left (1 + \frac{b x^{n}}{a}\right )^{- p} \left (1 + \frac{d x^{n}}{c}\right )^{- q} \left (a + b x^{n}\right )^{p} \left (c + d x^{n}\right )^{q} \operatorname{appellf_{1}}{\left (\frac{1}{n},- p,- q,1 + \frac{1}{n},- \frac{b x^{n}}{a},- \frac{d x^{n}}{c} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a+b*x**n)**p*(c+d*x**n)**q,x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 0.661915, size = 190, normalized size = 2.35 \[ \frac{a c (n+1) x \left (a+b x^n\right )^p \left (c+d x^n\right )^q F_1\left (\frac{1}{n};-p,-q;1+\frac{1}{n};-\frac{b x^n}{a},-\frac{d x^n}{c}\right )}{b c n p x^n F_1\left (1+\frac{1}{n};1-p,-q;2+\frac{1}{n};-\frac{b x^n}{a},-\frac{d x^n}{c}\right )+a d n q x^n F_1\left (1+\frac{1}{n};-p,1-q;2+\frac{1}{n};-\frac{b x^n}{a},-\frac{d x^n}{c}\right )+a c (n+1) F_1\left (\frac{1}{n};-p,-q;1+\frac{1}{n};-\frac{b x^n}{a},-\frac{d x^n}{c}\right )} \]
Warning: Unable to verify antiderivative.
[In] Integrate[(a + b*x^n)^p*(c + d*x^n)^q,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.207, size = 0, normalized size = 0. \[ \int \left ( a+b{x}^{n} \right ) ^{p} \left ( c+d{x}^{n} \right ) ^{q}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a+b*x^n)^p*(c+d*x^n)^q,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{n} + a\right )}^{p}{\left (d x^{n} + c\right )}^{q}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*(d*x^n + c)^q,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (b x^{n} + a\right )}^{p}{\left (d x^{n} + c\right )}^{q}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*(d*x^n + c)^q,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a+b*x**n)**p*(c+d*x**n)**q,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{n} + a\right )}^{p}{\left (d x^{n} + c\right )}^{q}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*(d*x^n + c)^q,x, algorithm="giac")
[Out]